package com.yunji.cabinet.domain;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.yunji.common.base.BaseDelFlagDO;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.util.Date;

@EqualsAndHashCode(callSuper = true)
@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("tt_upgrade_task")
public class UpgradeTaskDO extends BaseDelFlagDO {

    @ApiModelProperty("任务编码")
    @TableId
    private String taskCode;

    @ApiModelProperty("任务名称")
    private String taskName;

    @ApiModelProperty("文件ID")
    private Long fileId;

    @ApiModelProperty("芯片类型")
    private String chipType;

    @ApiModelProperty("软件版本")
    private String version;

    @ApiModelProperty("任务状态 0-待开始 1-已就绪 2-进行中 3-已完成 4-已取消")
    private Integer taskStatus;

    @ApiModelProperty("总设备数")
    private Integer facilityNums;

    @ApiModelProperty("开始时间")
    private Date startTime;

    @ApiModelProperty("结束时间")
    private Date closeTime;

}
